package cn.edu.scnu.semart.vo.user;

import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;

@Data
public class UserProfileUpdateVo {
    @Size(min = 1, max = 50,  message = "用户名长度3-50位")
    private String username;

    @Email(message = "邮箱格式不正确")
    private String email;

    private String phone;
}
